#pragma once

#ifndef ANCHOREDBUNGEE_H
#define ANCHOREDBUNGEE_H

#include "AnchoredSpring.h"

class AnchoredBungee : public AnchoredSpring
{
public:
	AnchoredBungee(D3DXVECTOR3 anchor, float springConstant, float restLength)
		: AnchoredSpring(anchor, springConstant, restLength)
	{
	}
	virtual ~AnchoredBungee() {}
	void updateForce(Particle* particle, float frameTime);
};

#endif